package com.design.model;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class PageResult<T> extends BaseResult<T>{
    /**
     * 总页码
     */
    private long total = 0;

    public PageResult(T result, long total) {
        super(result);
        this.total = total;
    }
}
